package ar.com.photo_admin.domain.user

import org.codehaus.groovy.grails.plugins.springsecurity.GrailsUser
import org.springframework.security.core.GrantedAuthority

class PhotoAdminUserDetails extends GrailsUser {

	String email
	
	String facebookUid
	
	PhotoAdminUserDetails(String username, String password, boolean enabled,
		boolean accountNonExpired, boolean credentialsNonExpired,
		boolean accountNonLocked,
		Collection<GrantedAuthority> authorities,
		long id, String email, String facebookUid) {
		
		super(username, password, enabled, accountNonExpired,
			credentialsNonExpired, accountNonLocked, authorities, id)
	
		this.email = email
		this.facebookUid = facebookUid		
	}
}
